package com.jiyun.racelist.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jiyun.model.Team;
import com.jiyun.racelist.mapper.TeamMapper;
import com.jiyun.racelist.service.TeamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeamServiceImpl extends ServiceImpl<TeamMapper, Team> implements TeamService {

    @Autowired
    TeamMapper teamMapper;

    @Override
    public List<Team> LookPaiming() {
        return teamMapper.LookPaiming();
    }

    @Override
    public Integer Paiming(Integer id) {
        return teamMapper.Paiming(id);
    }

    @Override
    public Integer LookScore(Integer id) {
        return teamMapper.LookScore(id);
    }
}
